package com.sdry.service.jyy;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.sdry.mapper.jyy.PlanMapper;
import com.sdry.model.jyy.Plan;
import com.sdry.model.jyy.PlanExample;

/**
 * 
 * @ClassName:    [PlanServiseImpl]   
 * @Description:  [生产计划业务层实现类]   
 * @Author:       [jyy]   
 * @CreateDate:   [2018年9月26日 下午2:24:18]    
 * @Version:      [v1.0]
 */
@Service
@Transactional
public class PlanServiseImpl implements PlanServise{

	@Resource
	private PlanMapper planMapper;
	
	@Override
	public int countByExample(PlanExample example) {
		return planMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(PlanExample example) {
		return 0;
	}

	@Override
	public int deleteByPrimaryKey(Integer id) {
		return 0;
	}

	@Override
	public Long insert2(Plan record) {
		return planMapper.insert(record);
	}

	@Override
	public int insertSelective(Plan record) {
		return 0;
	}

	@Override
	public List<Plan> selectByExampleWithBLOBs(PlanExample example) {
		return null;
	}

	@Override
	public List<Plan> selectByExample(PlanExample example) {
		return planMapper.selectByExample(example);
	}

	@Override
	public List<Plan> selectByExampleWithBLOBsForStartPage(PlanExample example,
			Integer pageNum, Integer pageSize) {
		return null;
	}

	@Override
	public List<Plan> selectByExampleForStartPage(PlanExample example,
			Integer pageNum, Integer pageSize) {
		return null;
	}

	@Override
	public List<Plan> selectByExampleWithBLOBsForOffsetPage(
			PlanExample example, Integer offset, Integer limit) {
		return null;
	}

	@Override
	public List<Plan> selectByExampleForOffsetPage(PlanExample example,
			Integer offset, Integer limit) {
		return null;
	}

	@Override
	public Plan selectFirstByExample(PlanExample example) {
		return null;
	}

	@Override
	public Plan selectFirstByExampleWithBLOBs(PlanExample example) {
		return null;
	}

	@Override
	public Plan selectByPrimaryKey(Integer id) {
		return null;
	}

	@Override
	public Plan selectByPrimaryKey(Long id) {
		return null;
	}

	@Override
	public int updateByExampleSelective(Plan record, PlanExample example) {
		return 0;
	}

	@Override
	public int updateByExampleWithBLOBs(Plan record, PlanExample example) {
		return 0;
	}

	@Override
	public int updateByExample(Plan record, PlanExample example) {
		return 0;
	}

	@Override
	public int updateByPrimaryKeySelective(Plan record) {
		return planMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKeyWithBLOBs(Plan record) {
		return 0;
	}

	@Override
	public int updateByPrimaryKey(Plan record) {
		return 0;
	}

	@Override
	public int deleteByPrimaryKeys(String ids) {
		return 0;
	}

	@Override
	public int deleteByPrimaryKeys2(String ids) {
		return 0;
	}

	@Override
	public void initMapper() {
		
	}

	@Override
	public int insert(Plan record) {
		// TODO Auto-generated method stub
		return 0;
	}

}
